package com.homework.model;

public class UserInfo {
	private String name;
	private int age;
	private String sex;
	private String job;
	private double salary;
	private String address;
	private String tel;
	private String mail;
	
	public UserInfo() {
		super();
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "userInfo [name=" + name + ", age=" + age + ", sex=" + sex
				+ ", job=" + job + ", salary=" + salary + ", address="
				+ address + ", tel=" + tel + ", mail=" + mail + "]";
	}

	public UserInfo(String name, int age, String sex, String job, double salary,
			String address, String tel, String mail) {
		super();
		this.name = name;
		this.age = age;
		this.sex = sex;
		this.job = job;
		this.salary = salary;
		this.address = address;
		this.tel = tel;
		this.mail = mail;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getJob() {
		return job;
	}
	public void setJob(String job) {
		this.job = job;
	}
	public double getSalary() {
		return salary;
	}
	public void setSalary(double salary) {
		this.salary = salary;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getMail() {
		return mail;
	}
	public void setMail(String mail) {
		this.mail = mail;
	}
	
}
